package com.feeling.oafeeling.controller;

import com.feeling.oafeeling.common.pojo.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import com.feeling.oafeeling.service.impl.PermissionService;
import com.feeling.oafeeling.utils.util.anno.PassToken;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

/**
 * 登录验证
 * 
 * 
 */
@Api(tags = "登录验证")
@RestController
@RequestMapping("/test")
public class SysTestController
{



    @ApiOperation(value = "登录验证")
    @PreAuthorize("@ss.hasPermi('system:dept:list')")
    @GetMapping("/list")
    public AjaxResult list(String page)
    {
        System.out.println(page);
        return AjaxResult.success();
    }

}
